classdef simplifiedExp < eyetrackexp

    methods

        function prepareOccluder(self,size,positions)
            % prepareOccluder(self,size,positions)
            self.occluder = simplifiedOccluder(self,size,positions);
        end
        function prepareJump(self)
            self.jump = jump(self);
            self.jump.m(:) = 0;
        end
        function prepareTrialTypes(self)
            self.FpC = ones(self.num_blocks,self.num_trials);
            self.trialtypes = self.FpC;
            % Randomization
            tmp = kron([1,1],1:numel(self.FpClearn));
            for b = 1:self.num_blocks
                self.trialtypes(b,:) = tmp(randperm(self.num_trials));
                self.FpC(b,:) = self.FpClearn(self.trialtypes(b,:));
            end
        end
        function prepareFixation(self)
            self.randomFixation = round(rand(self.num_blocks,self.num_trials));
            self.randomFixation(self.randomFixation == 0) = -1;
            self.randomFixation = self.randomFixation * self.fix.x;
        end

    end

end